package com.zhangzhan.gulimallseckill.feign;

import com.zhangzhan.gulimallcommcon.util.R;
import com.zhangzhan.gulimallseckill.feign.fallback.CouponFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/7/4 18:32
 */
@FeignClient(value = "gulimall-coupon", fallback = CouponFeignFallback.class)
public interface CouponFeignService {

    @RequestMapping(value = "/gulimallcoupon/seckillsession/getSeckillData", method = RequestMethod.GET)
    public R getSeckillData();

}
